using System.Collections.Generic;
using Kugar.Core.BaseStruct;

namespace Kugar.ERPFramework.Core.Interfaces.BLL
{
    public interface IGetListable
    {
        ResultReturn<IEnumerable<Entity.EntityBase>> GetList(Dictionary<string, object> searchCondition, int pageIndex, int pageSize, out int recordCount);
    }

    public interface IGetListable<T> : IGetListable where T : Entity.EntityBase
    {
        new ResultReturn<IEnumerable<T>> GetList(Dictionary<string, object> searchCondition, int pageIndex, int pageSize, out int recordCount);
    }
}
